﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp9
{
    class Class2
    {
        public string ID { get; set; }
        public string Name { get; set; }
        public char Sex { get; set; }
        public string CardId { get; set; }
        public string Tel { get; set; }
        public Class2(string ID, string Name, char Sex, string CardId, string Tel)
        {
            ID = ID;
            Name = Name;
            Sex = Sex;
            CardId = CardId;
            Tel = Tel;
        }
        public void Show()
        {
            Console.WriteLine("编号{0},姓名{1},性别{2},身份证号{3},联系方式{4},", ID, Name, Sex, CardId, Tel);
        }
    }
}
